num=input()

if type(num)==type(1):
    num=int(num)
    num=num**3
    print("{:-^20.3d}".format(num),end='')
else:
    num=float(num)
    num=num**3
    print("{:-^20.3f}".format(num),end='')